from astbase import ExpressionNode #the base expression class.
#additional expressions, int/float/string/...

class NumaricExpressionNode(ExpressionNode):
 PrintableName="number"
 def __init__(self, prev, value, consume=True):
  ExpressionNode.__init__(self, prev,value, consume)

class IntExpressionNode(NumaricExpressionNode):
 PrintableName="integer"
 def __init__(self, prev, value, consume=True):
  NumaricExpressionNode.__init__(self, prev,value, consume)

class FloatExpressionNode(NumaricExpressionNode):
 PrintableName="float"
 def __init__(self, prev, value, consume=True):
  NumaricExpressionNode.__init__(self, prev,value, consume)

class StringExpressionNode(ExpressionNode):
 PrintableName="string"
 def __init__(self, prev, value, consume=True):
  ExpressionNode.__init__(self, prev,value, consume)

class ObjectExpressionNode(ExpressionNode):
 PrintableName="object"
 def __init__(self, prev, value, consume=True):
  ExpressionNode.__init__(self, prev,value, consume)


class BooleanExpressionNode(ExpressionNode):
 PrintableName="boolean"
 def __init__(self, prev, value, consume=True):
  ExpressionNode.__init__(self, prev,value, consume)
